package src;

import java.awt.Point;
import java.awt.event.MouseEvent;
import java.awt.event.MouseListener;
import java.awt.event.MouseMotionListener;

public class Mouse implements MouseListener, MouseMotionListener{

	public static int pos_x = -1;
	public static int pos_y = -1;
	
	public static Point point = null;
	
	public static boolean mousePressed = false;
	
	public static int clickCount;
	
	public Mouse(){
		
	}
	
	public void mouseClicked(MouseEvent e) {

		
	}

	public void mousePressed(MouseEvent e) {
		pos_x = e.getX();
		pos_y = e.getY();
		
		point = e.getPoint();
		clickCount = e.getClickCount();
		
		mousePressed = true;

		
	}

	public void mouseReleased(MouseEvent e) {
		
		

		mousePressed = false;
		
	}

	public void mouseEntered(MouseEvent e) {
	
		
	}

	public void mouseExited(MouseEvent e) {

		
	}

	public void mouseDragged(MouseEvent e) {
		
		pos_x = e.getX();
		pos_y = e.getY();
	}

	public void mouseMoved(MouseEvent e) {
		
		pos_x = e.getX();
		pos_y = e.getY();
	}

}
